package Vista;
import javax.swing.BorderFactory;
import javax.swing.JButton;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

import controlador.ControladorCtegoria;




/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJDialogCategoria extends javax.swing.JDialog {
	private JPanel jPanelCategoria;
	private JLabel jLblCodigo;
	private JLabel jLblNombre;
	private JButton jBtoBuscarCate;
	private JTextField jTDescripcion;
	private JTextField jTNombre;
	private JTextField jTxtCodigo;
	private JButton jBtoSalir;
	private JButton jBtoEliminar;
	private JButton jBtoIncluir;
	private JLabel jLblDescripcion;

	/**
	* Auto-generated main method to display this JDialog
	*/
		
	public NewJDialogCategoria(JFrame frm,
			ControladorCtegoria controladorCtegoria) {
		super(frm);
		initGUI();
	}



	private void initGUI() {
		try {
			{
				getContentPane().setLayout(null);
				this.setTitle("Categoria de Producto");
				this.setFont(new java.awt.Font("Comic Sans MS",3,14));
				getContentPane().setBackground(new java.awt.Color(225,225,225));
				{
					jPanelCategoria = new JPanel();
					getContentPane().add(jPanelCategoria);
					//jPanelCategoria.setLayout(jPanelCategoriaLayout);
					jPanelCategoria.setBounds(21, 12, 449, 271);
					jPanelCategoria.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
					jPanelCategoria.setLayout(null);
					jPanelCategoria.setBackground(new java.awt.Color(237,206,69));
					{
						jLblCodigo = new JLabel();
						jPanelCategoria.add(jLblCodigo);
						jLblCodigo.setText("Codigo");
						jLblCodigo.setBounds(13, 13, 119, 15);
						jLblCodigo.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblNombre = new JLabel();
						jPanelCategoria.add(jLblNombre);
						jLblNombre.setText("Nombre");
						jLblNombre.setBounds(13, 59, 119, 15);
						jLblNombre.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jLblDescripcion = new JLabel();
						jPanelCategoria.add(jLblDescripcion);
						jLblDescripcion.setText("Descripcion");
						jLblDescripcion.setBounds(13, 107, 119, 15);
						jLblDescripcion.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoIncluir = new JButton();
						jPanelCategoria.add(jBtoIncluir);
						jBtoIncluir.setText("Agregar");
						jBtoIncluir.setBounds(32, 237, 83, 21);
						jBtoIncluir.setFont(new java.awt.Font("Comic Sans MS",3,14));
						jBtoIncluir.setEnabled(false);
					}
					{
						jBtoEliminar = new JButton();
						jPanelCategoria.add(jBtoEliminar);
						jBtoEliminar.setText("Eliminar");
						jBtoEliminar.setBounds(150, 237, 83, 21);
						jBtoEliminar.setFont(new java.awt.Font("Comic Sans MS",3,14));
						jBtoEliminar.setEnabled(false);
					}
					{
						jTxtCodigo = new JTextField();
						jPanelCategoria.add(jTxtCodigo);
						jTxtCodigo.setBounds(150, 9, 165, 24);
						jTxtCodigo.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTNombre = new JTextField();
						jPanelCategoria.add(jTNombre);
						jTNombre.setBounds(150, 55, 165, 24);
						jTNombre.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jTDescripcion = new JTextField();
						jPanelCategoria.add(jTDescripcion);
						jTDescripcion.setBounds(150, 103, 165, 24);
						jTDescripcion.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoSalir = new JButton();
						jPanelCategoria.add(jBtoSalir);
						jBtoSalir.setText("Salir");
						jBtoSalir.setBounds(344, 237, 83, 21);
						jBtoSalir.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoBuscarCate = new JButton();
						jPanelCategoria.add(jBtoBuscarCate);
						jBtoBuscarCate.setText("Buscar");
						jBtoBuscarCate.setBounds(339, 11, 83, 22);
						jBtoBuscarCate.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
				}
			}
			this.setSize(518, 335);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}



	public JPanel getjPanelCategoria() {
		return jPanelCategoria;
	}



	public JLabel getjLblCodigo() {
		return jLblCodigo;
	}



	public JLabel getjLblNombre() {
		return jLblNombre;
	}



	public JTextField getjTDescripcion() {
		return jTDescripcion;
	}



	public JTextField getjTNombre() {
		return jTNombre;
	}



	public JTextField getjTxtCodigo() {
		return jTxtCodigo;
	}



	public JButton getjBtoSalir() {
		return jBtoSalir;
	}



	public JButton getjBtoEliminar() {
		return jBtoEliminar;
	}



	public JButton getjBtoIncluir() {
		return jBtoIncluir;
	}



	public JLabel getjLblDescripcion() {
		return jLblDescripcion;
	}



	public JButton getjBtoBuscarCate() {
		return jBtoBuscarCate;
	}

	
	
}
